package com.compass.doctor.ui.prescription.adapter

import android.view.LayoutInflater
import android.view.ViewGroup
import com.compass.doctor.databinding.LayoutHistoryPrescriptionItemBinding
import com.compass.framework.adapter.BaseBindViewHolder
import com.compass.framework.adapter.BaseRecyclerViewAdapter
import com.compass.framework.model.ArticleInfo

/**
 * Description： 历史处方adapter  (暂时作废)
 * Date:2023/12/19 10:37
 */
class HistoryPrescriptionAdapter : BaseRecyclerViewAdapter<ArticleInfo, LayoutHistoryPrescriptionItemBinding>() {



    override fun getViewBinding(
        layoutInflater: LayoutInflater,
        parent: ViewGroup,
        viewType: Int
    ): LayoutHistoryPrescriptionItemBinding {
        return LayoutHistoryPrescriptionItemBinding.inflate(layoutInflater, parent, false)
    }

    override fun onBindDefViewHolder(
        holder: BaseBindViewHolder<LayoutHistoryPrescriptionItemBinding>,
        item: ArticleInfo?,
        position: Int
    ) {
        if (item == null) return
        holder.binding.apply {


        }
    }
}